home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
admin.fmt
/
mklfs.man
< prev
next >
Wrap
Text File
|
1992-10-05
|
6KB
|
201 lines
MKLFS User Commands MKLFS
_________________________________________________________________
NNAAMMEE
mklfs - Create an empty LFS file system on a disk partition.
SSYYNNOOPPSSIISS
mmkkllffss [[_o_p_t_i_o_n_s] _d_e_v_i_c_e_N_a_m_e [_p_r_e_f_i_x]
OOPPTTIIOONNSS
_d_e_v_i_c_e_N_a_m_e The device on which the file system should be
created. This device should be a disk parti-
tion complete with a disk label that specifies
its size. WARNING: THE CONTENTS OF THIS DEV-
ICE ARE OVERWRITTEN BY MKLFS.
_p_r_e_f_i_x Name of the file system (its prefix). You
only need to specify this prefix if you wish
to have the file system automatically mounted
by ffssmmoouunntt during the boot sequence. You can
manually mount the file system under any name
you want via the pprreeffiixx command.
--mmaaxxNNuummCCaacchheeBBlloocckkss _N_u_m_C_a_c_h_e_B_l_o_c_k_s
_N_u_m_C_a_c_h_e_B_l_o_c_k_s is the maximum number of file
cache blocks available on the machine. This
number defaults to the maximum number on the
machine running the program.
--mmaaxxCCaacchheeBBlloocckkssCClleeaanneedd _N_u_m_C_a_c_h_e_B_l_o_c_k_s
_N_u_m_C_a_c_h_e_B_l_o_c_k_s is the maximum number of file
cache files that will be reserved for clean-
ing. A negative value causes mklfs to compute
this number based on the segment and file
cache size.
--sspprriitteeIIDD _i_d _i_d is the Sprite hostname id specified in the
superblock. This id is used to inform a
machine of its name at boot time. It defaults
to the Sprite ID of the machine running mklfs.
--mmaaxxUUttiilliizzaattiioonn _U_t_i_l_i_z_a_t_i_o_n
_U_t_i_l_i_z_a_t_i_o_n is the maximum fraction of the
disk space usable by the file system.
--mmaaxxDDeesscc _N_u_m_D_e_s_c
_N_u_m_D_e_s_c is the maximum number of descriptors
available in the file system. A negative value
causes mklfs to compute this number based on
the disk size.
--sseeggAAlliiggnnmmeenntt _A_l_i_g_n_m_e_n_t
_A_l_i_g_n_m_e_n_t is the alignment in bytes where the
Sprite v.1.0 Printed: October 4, 1992 1
MKLFS User Commands MKLFS
first segment should start.
--bblloocckkSSiizzee _s_i_z_e
_s_i_z_e is block size of the file system in
bytes. The block size is the minimum unit of
allocation and should be a multiple of the
device's sector size.
--sseeggmmeennttSSiizzee _s_i_z_e
_s_i_z_e is the segment size of the file system in
bytes. The segment size should be a multiple
of the block size.
--nnuummSSeeggmmeennttss _N_u_m_S_e_g_m_e_n_t_s
_N_u_m_S_e_g_m_e_n_t_s is the number of segments to use
on the file system. A negative value causes
mklfs to compute the number of segments based
on the size of the disk.
--ddeessccBBlloocckkSSiizzee _s_i_z_e
_s_i_z_e is the size in bytes of the blocks used
to store file descriptors in the log. This
number should be a multiple of the block size.
--ddeessccMMaappBBlloocckkSSiizzee _s_i_z_e
_s_i_z_e is the block size in byte used for the
descriptor map data structure. This number
should be a multiple of the block size.
--uussaaggeeAArrrraayyBBlloocckkSSiizzee _s_i_z_e
_s_i_z_e is the block size in byte used for the
segment usage array data structure. This
number should be a multiple of the block size.
--vveerrbboossee Print the values used for the parameters.
_________________________________________________________________
DDEESSCCRRIIPPTTIIOONN
MMkkllffss will create an empty Sprite LFS filesystem on a disk
partition. The filesystem is created to use the entire disk
partition and initialized to look like an Sprite LFS file
system containing a root directory with a lost+found direc-
tory. Care should be taken because anything already present
on the partition will be overwritten.
MMkkllffss has a large number of options that control the maximum
limits of various file system data structures, the charac-
teristic of the machine that will the device for the file
system, and the disk layout format the file system. All
options except the deviceName specifier are optional and
default to reasonable values if not specified. If the pro-
gram is being run on a machine other than the one that the
Sprite v.1.0 Printed: October 4, 1992 2
MKLFS User Commands MKLFS
machine to which the disk will be attached from, the options
that describe the machine characteristic will need to be
specified.
KKEEYYWWOORRDDSS
filesystem, LFS, sprite
Sprite v.1.0 Printed: October 4, 1992 3